home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / rdate / RCS / rdate.h,v < prev   
Encoding:
Text File  |  1993-01-02  |  917 b   |  63 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    shirriff:1.1; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.1
  10. date     93.01.01.20.20.09;  author shirriff;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @@
  17.  
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @/* rdate.h --- include file for remote server date setting utility */
  26.  
  27. /* Copyright (c) 1990, W. Keith Pyle, Austin, Texas */
  28.  
  29. #if defined(sun) || defined(ultrix)
  30. #define HAS_ADJTIME
  31. #endif
  32.  
  33. #if defined(hpux)
  34. #define bcopy(from, to, count) memcpy(to, from, count)
  35. #define bzero(to, count) memset(to, 0, count)
  36. #endif
  37.  
  38. #if defined(SYSV) && defined(HAS_ADJTIME)
  39. #undef HAS_ADJTIME
  40. #endif
  41.  
  42. #include <stdio.h>
  43. #include <errno.h>
  44. #include <time.h>
  45. #include <sys/types.h>
  46. #include <sys/time.h>
  47. #include <sys/uio.h>
  48. #include <sys/socket.h>
  49. #include <netinet/in.h>
  50. #include <netdb.h>
  51.  
  52. #ifdef 386IX
  53. #include <net/errno.h>
  54. #endif
  55.  
  56. #define TIME_PORT    37
  57.  
  58. #define FALSE    0
  59. #define TRUE    1
  60.  
  61. void exit();
  62. @
  63.